import Vue from 'vue'
import App from './App'
import HttpRequest from './common/httpRequest'
import HttpCache from './common/cache'
import queue from './common/queue'

import empty from './components/empty'

import 'js_sdk/ican-H5Api/ican-H5Api'
import wx from 'js_sdk/weixin'

import loadMore from './components/uni-pro/load-more'

Vue.config.productionTip = false;
Vue.prototype.$Request = HttpRequest;
Vue.prototype.$queue = queue;

Vue.prototype.$wx = wx;

Vue.prototype.$Sysconf = HttpRequest.config;
Vue.prototype.$SysCache = HttpCache;

import uView from "uview-ui";
Vue.use(uView);

App.mpType = 'app';

Vue.component('load-more', loadMore);
Vue.component('empty', empty);


const app = new Vue({
    ...App
});
app.$mount();
